<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<c:set var="grant_code">
	<x:out select="$xmlData/data/proposal/grant_code" />
</c:set>
<c:set var="sub_grant_code">
	<x:out select="$xmlData/data/proposal/sub_grant_code" />
</c:set>

<div class="t_bar">
	经费预算（单位：万元，保留两位小数）
</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1" id="fundInfo">

	<tr class="t_tr">
		<td align="center" width="22%">预算科目名称</td>
		<td class="TblHead" align="center" width="15%">合计</td>
		<td class="TblHead" align="center" width="15%">专项经费</td>
		 <td class="TblHead" align="center" width="15%">其他经费</td>
		 <td class="TblHead" align="center"width="35%">说明</td>  
	</tr>
	<tr >
		<td align="left" ><strong>一、经费支出</strong></td>
		<td align="center">
		<input type="text" label="一、经费支出合计" name="budget/total_invest_total" id="total_invest_total" style="text-align:right; width:150px;" class="gray noreq valueEqual:total_invest_total:total_invest_6" disabled value="<x:out select="$xmlData/data/budget/total_invest_total" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_fund_total" id="total_fund_total"  label="一、经费支出中的专项经费" class="gray  noreq valueEqual:total_fund_total:list_fund valueEqual:total_fund_total:total_fund_6" disabled  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_fund_total" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_other_total" id="total_other_total" label="一、经费支出中的其他经费" class="gray noreq  valueEqual:total_other_total:list_other valueEqual:total_other_total:total_other_6" disabled  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_other_total" />" />
		</td>
		<td align="center">
			<input type="text" class="noreq" name="budget/total_allot" id="total_allot" style="width:200px" maxlength="50" value="<x:out select="$xmlData/data/budget/total_allot" />" />
		</td>
	</tr>
	<tr >
		<td  style="padding-left: 20px;"><strong>1、技术引进费</strong></td>
		<td align="center">
		<input type="text" name="budget/total_invest_1" id="total_invest_1" style="text-align:right; width:150px;" class="gray noreq" disabled value="<x:out select="$xmlData/data/budget/total_invest_1" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_fund_1" id="total_fund_1"   onchange="countFundAuto('total_','other_1,fund_1','invest_1');countFundAuto('total_fund_','5,4,3,2,1','total');countFundAuto('total_','other_total,fund_total','invest_total');" onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_fund_1" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_other_1" id="total_other_1" onchange="countFundAuto('total_','other_1,fund_1','invest_1');countFundAuto('total_other_','5,4,3,2,1','total');countFundAuto('total_','other_total,fund_total','invest_total');"  onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_other_1" />" />
		</td>
		<td align="center">
		<input type="text"  name="budget/total_allot_1" id="total_allot_1" style="width:200px" maxlength="50" value="<x:out select="$xmlData/data/budget/total_allot_1" />" />
		</td>
	</tr>
	<tr >
		<td   style="padding-left: 20px;"><strong>2、技术开发费</strong></td>
		<td align="center">
		<input type="text" name="budget/total_invest_2" id="total_invest_2" style="text-align:right; width:150px;" class="gray noreq" disabled value="<x:out select="$xmlData/data/budget/total_invest_2" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_fund_2" id="total_fund_2"   onchange="countFundAuto('total_','other_2,fund_2','invest_2');countFundAuto('total_fund_','5,4,3,2,1','total');countFundAuto('total_','other_total,fund_total','invest_total');" onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_fund_2" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_other_2" id="total_other_2" onchange="countFundAuto('total_','other_2,fund_2','invest_2');countFundAuto('total_other_','5,4,3,2,1','total');countFundAuto('total_','other_total,fund_total','invest_total');"  onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_other_2" />" />
		</td>
		<td align="center">
		<input type="text"  style="width:200px" name="budget/total_allot_2" maxlength="50" value="<x:out select="$xmlData/data/budget/total_allot_2" />" />
		</td>
	</tr>
	<tr >
		<td   style="padding-left: 20px;"><strong>3、技术应用示范费</strong></td>
		<td align="center">
		<input type="text" name="budget/total_invest_3" id="total_invest_3" style="text-align:right; width:150px;" class="gray noreq" disabled value="<x:out select="$xmlData/data/budget/total_invest_3" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_fund_3" id="total_fund_3"  onchange="countFundAuto('total_','other_3,fund_3','invest_3');countFundAuto('total_fund_','5,4,3,2,1','total');countFundAuto('total_','other_total,fund_total','invest_total');" onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_fund_3" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_other_3" id="total_other_3"  onchange="countFundAuto('total_','other_3,fund_3','invest_3');countFundAuto('total_other_','5,4,3,2,1','total');countFundAuto('total_','other_total,fund_total','invest_total');" onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_other_3" />" />
		</td>
		<td align="center">
		<input type="text" style="width:200px" name="budget/total_allot_3" maxlength="50" value="<x:out select="$xmlData/data/budget/total_allot_3" />" />
		</td>
	</tr>
	<tr >
		<td   style="padding-left: 20px;"><strong>4、科技服务费</strong></td>
		<td align="center">
		<input type="text" name="budget/total_invest_4" id="total_invest_4" style="text-align:right; width:150px;" class="gray noreq" disabled value="<x:out select="$xmlData/data/budget/total_invest_4" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_fund_4" id="total_fund_4"  onchange="countFundAuto('total_','other_4,fund_4','invest_4');countFundAuto('total_fund_','5,4,3,2,1','total');countFundAuto('total_','other_total,fund_total','invest_total');" onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_fund_4" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_other_4" id="total_other_4" onchange="countFundAuto('total_','other_4,fund_4','invest_4');countFundAuto('total_other_','5,4,3,2,1','total');countFundAuto('total_','other_total,fund_total','invest_total');"  onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_other_4" />" />
		</td>
		<td align="center">
		<input type="text"  style="width:200px" name="budget/total_allot_4" maxlength="50" value="<x:out select="$xmlData/data/budget/total_allot_4" />"/>
		</td>
	</tr>
	<tr >
		<td  style="padding-left: 20px;"><strong>5、培训费</strong></td>
		<td align="center">
		<input type="text" name="budget/total_invest_5" id="total_invest_5" style="text-align:right; width:150px;" class="gray noreq" disabled value="<x:out select="$xmlData/data/budget/total_invest_5" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_fund_5" id="total_fund_5"  onchange="countFundAuto('total_','other_5,fund_5','invest_5');countFundAuto('total_fund_','5,4,3,2,1','total');countFundAuto('total_','other_total,fund_total','invest_total');" onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_fund_5" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_other_5" id="total_other_5" onchange="countFundAuto('total_','other_5,fund_5','invest_5');countFundAuto('total_other_','5,4,3,2,1','total');countFundAuto('total_','other_total,fund_total','invest_total');" onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_other_5" />" />
		</td>
		<td align="center">
		<input type="text"  style="width:200px" name="budget/total_allot_5" maxlength="50" value="<x:out select="$xmlData/data/budget/total_allot_5" />" />
		</td>
	</tr>
	<tr >
		<td align="left" ><strong>二、经费来源</strong></td>
		<td align="center">
		<input type="text"  label="二、经费来源合计" name="budget/total_invest_6" id="total_invest_6" style="text-align:right; width:150px;" class="gray noreq" disabled value="<x:out select="$xmlData/data/budget/total_invest_6" />" />
		</td>
		<td align="center">
		<input type="text" label="二、经费来源中的专项经费"  name="budget/total_fund_6" id="total_fund_6" class="gray noreq" disabled  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_fund_6" />" />
		</td>
		<td align="center">
		<input type="text" label="二、经费来源中的其他经费"  name="budget/total_other_6" id="total_other_6" class="gray noreq" disabled  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_other_6" />" />
		</td>
		<td align="center">
			<input type="text" class="noreq" name="budget/total_allot_60" id="total_allot_6" style="width:200px" maxlength="50" value="<x:out select="$xmlData/data/budget/total_allot_60" />" />
		</td>
	</tr>
	
	<tr >
		<td style="padding-left: 20px;" ><strong>1、专项计划拨款</strong></td>
		<td align="center">
		<input type="text" name="budget/total_invest_7" id="total_invest_7" style="text-align:right; width:150px;" class="gray noreq" disabled value="<x:out select="$xmlData/data/budget/total_invest_7" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_fund_7" id="total_fund_7"  onchange="countFundAuto('total_','other_7,fund_7','invest_7');countFundAuto('total_fund_','8,7,9','6');countFundAuto('total_','other_6,fund_6','invest_6');" onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_fund_7" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_other_7" id="total_other_7" class="gray noreq" disabled onchange="countFundAuto('total_','other_7,fund_7','invest_7');countFundAuto('total_other_','8,7,9','6');countFundAuto('total_','other_6,fund_6','invest_6');" onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="/" />
		</td>
		<td align="center">
		<input type="text"  style="width:200px" name="budget/total_allot_7" maxlength="50" value="<x:out select="$xmlData/data/budget/total_allot_7" />" />
		</td>
	</tr>
	<tr >
		<td style="padding-left: 20px;" ><strong>2、其他配套经费</strong></td>
		<td align="center">
		<input type="text" name="budget/total_invest_8" id="total_invest_8" style="text-align:right; width:150px;" class="gray noreq" disabled value="<x:out select="$xmlData/data/budget/total_invest_8" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_fund_8" id="total_fund_8" class="gray noreq" disabled  onchange="countFundAuto('total_','other_8,fund_8','invest_8');countFundAuto('total_fund_','8,7,9','6');countFundAuto('total_','other_6,fund_6','invest_6');" onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="/" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_other_8" id="total_other_8" onchange="countFundAuto('total_','other_8,fund_8','invest_8');countFundAuto('total_other_','8,7,9','6');countFundAuto('total_','other_6,fund_6','invest_6');"  onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_other_8" />" />
		</td>
		<td align="center">
		<input type="text"  style="width:200px" name="budget/total_allot_8" maxlength="50" value="<x:out select="$xmlData/data/budget/total_allot_8" />" />
		</td>
	</tr>
	
	<tr >
		<td style="padding-left: 20px;" ><strong>3、自筹资金</strong></td>
		<td align="center">
		<input type="text" name="budget/total_invest_9" id="total_invest_9" style="text-align:right; width:150px;" class="gray noreq" disabled value="<x:out select="$xmlData/data/budget/total_invest_9" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_fund_9" id="total_fund_9" class="gray noreq" disabled  style="text-align:right; width:150px;" value="/" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_other_9" id="total_other_9" class="gray noreq" disabled  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_other_9" />" />
		</td>
		<td align="center">
		<input type="text" class="noreq"  name="budget/total_allot_90" id="total_allot_9" style="width:200px" maxlength="50" value="<x:out select="$xmlData/data/budget/total_allot_90" />" />
		</td>
	</tr>
	<tr >
		<td style="padding-left: 40px;" ><strong>1) 银行贷款</strong></td>
		<td align="center">
		<input type="text" name="budget/total_invest_10" id="total_invest_10" style="text-align:right; width:150px;" class="gray noreq" disabled value="<x:out select="$xmlData/data/budget/total_invest_10" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_fund_10" id="total_fund_10" class="gray noreq" disabled onchange="countFundAuto('total_','other_10,fund_10','invest_10');countFundAuto('total_fund_','10,11,12,13','9');countFundAuto('total_','other_9,fund_9','invest_9');countFundAuto('total_fund_','8,7,9','6');countFundAuto('total_','other_6,fund_6','invest_6');"   onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="/" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_other_10" id="total_other_10" onchange="countFundAuto('total_','other_10,fund_10','invest_10');countFundAuto('total_other_','10,11,12,13','9');countFundAuto('total_','other_9,fund_9','invest_9');countFundAuto('total_other_','8,7,9','6');countFundAuto('total_','other_6,fund_6','invest_6');"  onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_other_10" />" />
		</td>
		<td align="center">
		<input type="text"  style="width:200px" name="budget/total_allot_10" maxlength="50" value="<x:out select="$xmlData/data/budget/total_allot_10" />" />
		</td>
	</tr>
	<tr >
		<td style="padding-left: 40px;" ><strong>2) 风险投资</strong></td>
		<td align="center">
		<input type="text" name="budget/total_invest_11" id="total_invest_11" style="text-align:right; width:150px;" class="gray noreq" disabled value="<x:out select="$xmlData/data/budget/total_invest_11" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_fund_11" id="total_fund_11" class="gray noreq" disabled onchange="countFundAuto('total_','other_11,fund_11','invest_11');countFundAuto('total_fund_','10,11,12,13','9');countFundAuto('total_','other_9,fund_9','invest_9');countFundAuto('total_fund_','8,7,9','6');countFundAuto('total_','other_6,fund_6','invest_6');"  onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="/" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_other_11" id="total_other_11" onchange="countFundAuto('total_','other_11,fund_11','invest_11');countFundAuto('total_other_','10,11,12,13','9');countFundAuto('total_','other_9,fund_9','invest_9');countFundAuto('total_other_','8,7,9','6');countFundAuto('total_','other_6,fund_6','invest_6');"  onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_other_11" />" />
		</td>
		<td align="center">
		<input type="text"  style="width:200px" name="budget/total_allot_11" maxlength="50" value="<x:out select="$xmlData/data/budget/total_allot_11" />" />
		</td>
	</tr>
	<tr >
		<td style="padding-left: 40px;" ><strong>3) 自有资金</strong></td>
		<td align="center">
		<input type="text" name="budget/total_invest_12" id="total_invest_12" style="text-align:right; width:150px;" class="gray noreq" disabled value="<x:out select="$xmlData/data/budget/total_invest_12" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_fund_12" id="total_fund_12" class="gray noreq" disabled onchange="countFundAuto('total_','other_12,fund_12','invest_12');countFundAuto('total_fund_','10,11,12,13','9');countFundAuto('total_','other_9,fund_9','invest_9');countFundAuto('total_fund_','8,7,9','6');countFundAuto('total_','other_6,fund_6','invest_6');"   onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="/" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_other_12" id="total_other_12" onchange="countFundAuto('total_','other_12,fund_12','invest_12');countFundAuto('total_other_','10,11,12,13','9');countFundAuto('total_','other_9,fund_9','invest_9');countFundAuto('total_other_','8,7,9','6');countFundAuto('total_','other_6,fund_6','invest_6');"  onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_other_12" />" />
		</td>
		<td align="center">
		<input type="text"  style="width:200px" name="budget/total_allot_12" maxlength="50" value="<x:out select="$xmlData/data/budget/total_allot_12" />" />
		</td>
	</tr>
	<tr >
		<td style="padding-left: 40px;" ><strong>4) 其他资金</strong></td>
		<td align="center">
		<input type="text" name="budget/total_invest_13" id="total_invest_13" style="text-align:right; width:150px;" class="gray noreq" disabled value="<x:out select="$xmlData/data/budget/total_invest_13" />" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_fund_13" id="total_fund_13" class="gray noreq" disabled onchange="countFundAuto('total_','other_13,fund_13','invest_13');countFundAuto('total_fund_','10,11,12,13','9');countFundAuto('total_','other_9,fund_9','invest_9');countFundAuto('total_fund_','8,7,9','6');countFundAuto('total_','other_6,fund_6','invest_6');" onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="/" />
		</td>
		<td align="center">
		<input type="text" name="budget/total_other_13" id="total_other_13" onchange="countFundAuto('total_','other_13,fund_13','invest_13');countFundAuto('total_other_','10,11,12,13','9');countFundAuto('total_','other_9,fund_9','invest_9');countFundAuto('total_other_','8,7,9','6');countFundAuto('total_','other_6,fund_6','invest_6');"  onfocus="InitInput.setNumber(this,7,2,2)"  style="text-align:right; width:150px;" value="<x:out select="$xmlData/data/budget/total_other_13" />" />
		</td>
		<td align="center">
		<input type="text"  style="width:200px" name="budget/total_allot_13" maxlength="50" value="<x:out select="$xmlData/data/budget/total_allot_13" />" />
		</td>
	</tr>

	
</table>
<br/>
<div class="t_bar">需增添的主要仪器设备（价值5万元以上的设备）</div>
<table  id="tblEuipmentLists2" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="4%">选择</th>
						<th class="TblHead" align="center"  width="4%">序号</th>
						<th class="TblHead" align="center"  width="9%">设备名称及型号</th> 
						<th class="TblHead" align="center"  width="9%">价格<br/>（万元）</th>
				        <th class="TblHead" align="center"  width="9%">资金来源</th>   
						<th class="TblHead" align="center"  width="9%">增添理由</th>         
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none" align="center">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selEuipmentLists2" >
						</td>
						<td align="center">&nbsp;
							<span name="euipments|list2[0]@seq_no" >[index]</span> 
						</td>
						<td align="center">
							<input type="text" name="euipments|list2[0]|name" label="设备名称及型号" class="  input_text " maxlength="50" style="width:80%"/>
						</td>
						<td align="center">
							<input type="text" name="euipments|list2[0]|price" label="价格" id="price_[index]" class="input_text  valueGENum:price_[index]:5万元" onfocus="InitInput.setNumber(this,7,4,2)"   style="text-align:right;width:80%" />
						</td> 
						<td align="center">
							<input type="text" name="euipments|list2[0]|model" label="资金来源" class=" input_text " maxlength="50" style="width:80%"/>
						</td>
					
						<td align="center">
							<input type="text" name="euipments|list2[0]|remark" label="增添理由"  class=" input_text " maxlength="100" style="width:80%"/>
						</td> 
					</tr>
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/euipments/list2" var="list">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr align="center">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selEuipmentLists2" >
						</td>
						<td align="center">&nbsp;
							<span name="euipments/list2[${flag}${index}]@seq_no" ><x:out select="$list/@seq_no"/></span> 
						</td>
						<td>
							<input type="text" name="euipments/list2[${flag}${index}]/name"  label="设备名称及型号" style="width:80%"   class="input_text " value="<x:out select="$list/name" />" maxlength="50"/>
						</td>
						<td >
							<input type="text" name="euipments/list2[${flag}${index}]/price" id="price_${index+1}"  label="价格"  onfocus="InitInput.setNumber(this,7,4,2)"   style="text-align:right;width:80%"  class="input_text  valueGENum:price_${index+1}:5万元" value="<x:out select="$list/price" />"/>
						</td> 
						<td>
							<input type="text" name="euipments/list2[${flag}${index}]/model"  label="资金来源" style="width:80%"   class=" input_text " value="<x:out select="$list/model" />" maxlength="50"/>
						</td>
						
						
						
						<td>
							<input type="text" name="euipments/list2[${flag}${index}]/remark"  label="增添理由"  style="width:80%"   class=" input_text " value="<x:out select="$list/remark" />" maxlength="50"/>
						</td> 
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					
				</tbody>
					</table>
					<table width="98%" align="center" border="0">
					<tr style="border: 0"><td style="border: 0">
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblEuipmentLists2',3,'需增添的主要仪器设备最多只能填写3条')){addNewRow('tblEuipmentLists2');showDateTag('tblEuipmentLists2');}try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblEuipmentLists2','selEuipmentLists2')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblEuipmentLists2','selEuipmentLists2')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblEuipmentLists2','条仪器设备记录');">
					</td></tr>
	</table>
<script type="text/javascript">
$(document).ready(function() {
var prp_version=$("#prp_version").text();

if(prp_version==""||prp_version==null){
	$("#budgetsMsg").find(":input").each(function(){
	$(this).val("0.00");	
	});
	
	$("#budgetsMsg1").find(":input").each(function(){
		$(this).val("0.00");	
		});
	
	$("#budgetsMsg2").find(":input").each(function(){
		$(this).val("0.00");	
		});
	
	$("#fundAdds").find(":input[type!=hidden]").each(function(){
		$(this).val("0.00");	
		});
}

/* var flag_shizhi = $("#flag_shizhi").val();
if(flag_shizhi ==  1){
	$("#source_city").attr("disabled",true);
    $("#source_city").addClass("gray");
}else{ */
	$("#source_city").attr("disabled",false);
/* 	$("#source_area").attr("disabled",true);
	$("#source_city").addClass("gray");
	$("#source_area").addClass("gray"); */
/* } */
	
});

function synchro(){
	var val = $("#source_apply").val();
	var xmjhtzze = $("#source_total").val();
	$("#sqje").val(formatNumberAuto(val+"", 7, 4, 2));
	$("#xmjhtzze").val(formatNumberAuto(xmjhtzze+"", 7, 4, 2));
}

		function setSource(val){
			$("#source_provincial").val(val);	
		}

function  countProvince(id1,id2){
	var val1 = $("#"+id1).val();
	if(!$.isNumeric(val1)){
		val1 = '';
	}
	$("#"+id2).val(formatNumberAuto(val1+".0000", 7, 4, 2));
}
function setTJBMval(){
	var val1 = $("#source_apply").val();
	var val2 =formatNumberAuto(val1+".0000", 7, 4, 2)
	$("#applied").val(val2);
}
</script>
